from django.db import models
# 静态资源
# Create your models here.
from django.utils import timezone


class Image(models.Model):

    url = models.CharField(max_length=128, null=False, verbose_name='图片地址')
    create_time = models.DateTimeField(default=timezone.now, verbose_name='上传时间')
    update_time = models.DateTimeField(auto_now=True, verbose_name='最后修改时间')
